#include "glfullscreenwindow.h"
#include "ui_glfullscreenwindow.h"

glFullScreenWindow::glFullScreenWindow(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::glFullScreenWindow)
{
    ui->setupUi(this);
    this->showFullScreen();
}

glFullScreenWindow::~glFullScreenWindow()
{
    delete ui;
}

void glFullScreenWindow::mouseDoubleClickEvent(QMouseEvent *) {
    hide();
}

glFullScreenDisplay* glFullScreenWindow::getDisplay() {
    return ui->display;
}
